<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>

<html>
<head>
    <title>申请售后维护</title>
    <meta name="menu" content="queuedTasks"/>
    <script type="text/javascript">
        function approveForm() {
            var inputForm = $('#inputForm');
            inputForm.action = "aftersales!approveTask.action";
            inputForm.submit();
        }
        function rejectForm() {
            var inputForm = $('#inputForm');
            inputForm.attr("action", "aftersales!rejectTask.action");
            inputForm.submit();
        }
    </script>
</head>
<body>
<div class="jquery_tab">
    <div class="content_block">
        <h2 class="jquery_tab_title">${task.name}</h2>

        <form id="inputForm" action="aftersales!approveTask.action" method="post">
            <%@include file="aftersalesCommonForm.jsp" %>
            <%@include file="/WEB-INF/content/workflow/comment.jsp" %>
            <p>
                <c:if test="${!readonly}">
                <a class="button" href="javascript:approveForm();"><span>确认同意</span></a>
                <a class="button" href="javascript:rejectForm();"><span>否决退回</span></a>
                 </c:if>
                <a class="button" onclick="javascript:history.back()"><span>返回</span></a>
            </p>
        </form>
    </div>
</div>
<div class="jquery_tab">
    <%@include file="/WEB-INF/content/workflow/ProcessImage.jsp" %>
</div>

</body>
</html>
